package br.com.mundodaprata.store.data.jpa;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;


public class JPAConnection {
	
	public static EntityManager createEntityManager(){
		EntityManagerFactory emf = 
			Persistence.createEntityManagerFactory("store");
		
		return emf.createEntityManager();
	}
	
	
	public static void main(String[] args) {
	}

}